package com.cn.mmd.mapper;

import com.cn.mmd.model.ShiroUserRole;
import com.cn.mmd.model.ShiroUserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShiroUserRoleMapper {
    int countByExample(ShiroUserRoleExample example);

    int deleteByExample(ShiroUserRoleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShiroUserRole record);

    int insertSelective(ShiroUserRole record);

    List<ShiroUserRole> selectByExample(ShiroUserRoleExample example);

    ShiroUserRole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShiroUserRole record, @Param("example") ShiroUserRoleExample example);

    int updateByExample(@Param("record") ShiroUserRole record, @Param("example") ShiroUserRoleExample example);

    int updateByPrimaryKeySelective(ShiroUserRole record);

    int updateByPrimaryKey(ShiroUserRole record);

    List<ShiroUserRole> selectByUserId(String userId);

    ShiroUserRole selectByAll(ShiroUserRole shiroUserRole);

    int deleteByUserId(String userId);
}